package com.yang.mapper;

import com.yang.pojo.Leave;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;

/**
 * @Author 杨天可
 * @Date 2021/3/15 10:37
 * @Version 1.0
 */
public interface LeaveMapper extends Mapper<Leave> {

    //根据员工id和日期查找请假记录
    Leave getRecordByUserIdAndDate(Integer userId, Date cruDate);
}
